The MULFUNC Sample accompanies Chapter 6 and illustrates how to create a driver for a non-standard multifunction device.
You would not use the MULFUNC method for a USB, PCI, or PCMCIA multifunction device unless the device doesn't conform to the bus specification. Refer to the DDK documentation on multifunction devices for more information.
The sample includes three components:
To build MULFUNC.SYS, CHILDA.SYS, and CHILDB.SYS, follow the general instructions for building a WDM sample. The Microsoft Visual C++ project files are named MULFUNC.DSP, CHILDA.DSP, and CHILDB.DSP in the SYS, CHILDA, and CHILDB subdirectories, respectively.
Install the MULFUNC "device". Follow the general instructions for using FastInst in Windows 2000 or the Add New Hardware wizard in Windows 98. The INF file is named SYS\DEVICE.INF.
Following the installation of MULFUNC, the system will automatically install the CHILDA and CHILDB drivers. You will see this happening because I didn't take any steps to suppress the user interface.